/*** manager ***/
package main;

import gui.mainFrame;
import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.UIManager;
import org.jvnet.substance.skin.SubstanceModerateLookAndFeel;

public class Main {

  public static void main(String[] args) {

    /************<<<<<< teste para validar conversao entre strings e arrays
    String[][] x = new String[5][3];
    x[0][0] = "00";
    x[0][1] = "01";
    x[0][2] = "02";

    x[1][0] = "10";
    x[1][1] = "11";
    x[1][2] = "12";

    x[2][0] = "20";
    x[2][1] = "21";
    x[2][2] = "22";

    x[3][0] = "30";
    x[3][1] = "31";
    x[3][2] = "32";

    x[4][0] = "40";
    x[4][1] = "41";
    x[4][2] = "42";

    for (int i = 0; i < x.length; i++) {
      for (int j = 0; j < x[0].length; j++) {
        System.out.print(x[i][j] + " ");
      }
      System.out.println("");
    }

    String xx = Utils.convert(x);
    System.out.println(xx);
    String[][] xxx = Utils.convert(xx);

    for (int i = 0; i < xxx.length; i++) {
      for (int j = 0; j < xxx[0].length; j++) {
        System.out.print(xxx[i][j] + " ");
      }
      System.out.println("");
    }
    ***************************/

    
    java.awt.EventQueue.invokeLater(new Runnable() {

      public void run() {
        try {
          JFrame.setDefaultLookAndFeelDecorated(true);
          JDialog.setDefaultLookAndFeelDecorated(true);
          UIManager.setLookAndFeel(new SubstanceModerateLookAndFeel());
        } catch (Exception e) {
          e.printStackTrace();
        }
        new mainFrame().setVisible(true);
      }
    });
  }
}
